{extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">
        <h1>编辑节点</h1>
        <hr>
        <div class="row">
            <div class="col-md-12">
                <form action="{:url('admin/node/doEdit', ['id' => $node['id']])}" method='get' class="form-horizontal">
                    <input type="hidden" name="id" value="<?= $node['id'] ?>">
                    <div class="form-group" style="">
                        <label for="" class="col-sm-2 control-label">功能：</label>
                        <div class="col-sm-4">
                            <input type="text" name="name" class="form-control" value="<?= $node['name']; ?>">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-4">
                          <button type="submit" class="btn btn-default">保存</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

{/block}